{% extends "base.html" %}

{% block title %}
    {{ category.name }}
{% endblock title %}

{% block content %}
    <p>分类简介：{{ category.intro }}</p>
    <p>分类文章列表：</p>
    <ul>
        {% for article in category.article_set.all %}
            <li>
                <a href="{{ article.get_absolute_url }}">{{ article.title }}</a>
            </li>
        {% endfor %}

    </ul>
{% endblock content %}